package com.bkgy.controller.technology.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bkgy.controller.technology.entity.Cgl1870ProcessDatas;
import com.bkgy.controller.technology.entity.dto.TechChartDtoReq;
import com.bkgy.controller.technology.entity.dto.TechListDtoRes;
import com.bkgy.sys.common.entity.ResultData;

import java.util.List;

public interface ICgl1870ProcessService extends IService<Cgl1870ProcessDatas> {
    ResultData<String> transData(String beginTime);

    List<TechListDtoRes> load1870ProcessData(TechChartDtoReq tc);

    LambdaQueryWrapper<Cgl1870ProcessDatas> build1870Wrapper(TechChartDtoReq tc);

    ResultData<String> rollInfo(TechChartDtoReq tc);

    /**
     * 分析外板生产数据
     */
    boolean splitPlankService();

    /**
     * 补偿因MongoDB曲线数据延迟导致的验证
     */
    void compensateCheck();

    /**
     * 更新外板报表缺陷信息
     */
    void updatePlankDefectInfo();
}
